package com.ctsi.findexpert.service;

import com.ctsi.findexpert.dto.RegisterResult;
import com.ctsi.findexpert.param.RegisterVO;

import java.io.IOException;
import java.util.List;

public interface FindExpertService {

    /**
     * 获取环信管理员权限
     * @return
     */
    public String getToken();

    /**
     * 注册环信用户
     * @param username
     * @param password
     * @param nickname
     * @return
     */
    public RegisterResult register4HX(String username,String password,String nickname) throws IOException;


    public List<RegisterResult> mutilRegister4HX(List<RegisterVO> params) throws IOException;

    /**
     * 删除环信用户
     * @param username
     * @return
     */
    public boolean removefromHX(String username);

}
